package com.jiazhong.mingxing.boot.boot01.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
//@ConfigurationProperties(prefix = "student")
@Data
@Component
public class Student {

    private Integer id;
    private String name;
    private Character gender;
    private String[] loves;
    private Phone phone;
}
